package com.mmd.admin.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mmd.base.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author ${author}
 * @since 2023-05-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("life_serve_rule")
@ApiModel(value="Rule对象", description="权限表")
public class Rule extends BaseEntity<Rule> {

    @ApiModelProperty(value = "父级id 0为顶级")
    private Long parentRuleId;

    @ApiModelProperty(value = "权限名称")
    private String name;

    @ApiModelProperty(value = "关键字")
    private String keyss;
}
